<?php
$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div class="wrapper col3">
	<div id="homecontent">
		<div class="fl_left">
			<p><h2>Добавить  резюме</h2></p>
			
		<div class="form" style="width:400px;">


<?php 
	$form=$this->beginWidget('CActiveForm',array(
	        'id'=>'reg-form',
	        'enableAjaxValidation'=>true,
	));
	?>
	
	<div class="row">
	
		<?php echo $form->labelEx($usercv,'position'); ?>
		<?php echo $form->textField($usercv,'position'); ?> 
		<?php echo $form->error($usercv,'position'); ?>
		
	</div><br/>
	
	<div class="row">
	
		<?php echo $form->labelEx($usercv,'worktime',array("label"=>"график работы")); ?>
		<?php echo $form->textField($usercv,'worktime'); ?> 
		<?php echo $form->error($usercv,'worktime'); ?>
				
	</div><br/>
	
	<div class="row">

		<?php echo $form->labelEx($usercv,'salery',array('label'=>"Зарплата")); ?>
		<?php echo $form->textField($usercv,'salery');?> 
		<?php echo $form->error($usercv,'salery'); ?>
		
	</div><br/>
	
	<div class="row">
		
			<?php echo $form->labelEx($usercv,'education',array('label'=>"Образование")); ?>
			 <?php  echo CHtml::activetextArea($usercv,'education',$htmlOptions=array('rows'=>'10','cols'=>'70%' )); ?>
			<?php echo $form->error($usercv,'salery'); ?>
		
	</div><br/>
	
	<div class="row">
		
			<?php echo $form->labelEx($usercv,'preposition',array('label'=>"Предидущие места работы")); ?>
			 <?php  echo CHtml::activetextArea($usercv,'preposition',$htmlOptions=array('rows'=>'10','cols'=>"70%" )); ?>
			<?php echo $form->error($usercv,'preposition'); ?>
		
	</div><br/>
	
	
		<div class="row">
			
				<?php echo $form->labelEx($usercv,'profskill',array('label'=>"Профессиональные навыки")); ?>
				 <?php  echo CHtml::activetextArea($usercv,'profskill',$htmlOptions=array('rows'=>'10','cols'=>"70%" )); ?>
				<?php echo $form->error($usercv,'profskill'); ?>
			
		</div><br/>
		
			<div class="row">
			
				<?php //echo $form->labelEx($scope,'scope'); ?>
				 <?php echo CHtml::dropDownList('scope', '1',
                              $list, array('class'=>'Select')
                              ); ?>
				<?php echo $form->error($usercv,'profskill'); ?>
			
		</div><br/>
		
		
		<div class="row">
		
				<?php echo $form->labelEx($usercv,'aboutme',array('label'=>"Дополнительные сведенья")); ?>
				 <?php  echo CHtml::activetextArea($usercv,'aboutme',$htmlOptions=array('rows'=>'10','cols'=>"70%" )); ?>
				<?php echo $form->error($usercv,'aboutme'); ?>
			
		</div><br/>
	
	<div class="row buttons"><?php echo CHtml::submitButton('tratata',array('class'=>'Ok')); ?>
	</div>
	
	<?php $this->endWidget(); ?></div>
	<!-- end form -->
	</div><!-- flleft -->
	  <div id="column">
      <div class="subnav">
        <h2>Моя страница</h2>
        <ul class="tablets">
        <li><a href="/userpage/Mycv/">Мои резюме</a></li>        
          <li><a href="/userpage/Addcv/">Добавить резюме</a></li>  
          <li><a href="/userpage/myinformation/">Моя информация</a></li>  
        </ul>
     </div>
    </div>
</div><!-- homecontent -->
</div>